import { createRoot } from "react-dom/client";
import App from "./App";

// 1 引入store
import store from "./store";
// 1 引入 连接 组件和store 小组件
import { Provider } from "react-redux";

// 渲染组件
const root = createRoot(document.getElementById("root") as Element);
root.render(
  <Provider store={store}>
    <App />
  </Provider>
);
